#include "myaxisticker.h"

MyAxisTicker::MyAxisTicker()
{
//    unitList << "dBm" << "dBmv" << "dBuV" << "dBuA" << "dBuW" << "Volt" << "Ampere" << "Watt";
//    currUnit = unitList.at(0);
//远端更改
//本地更改
}


QString MyAxisTicker::getTickLabel(double tick, const QLocale &locale, QChar formatChar, int precision)
{
    return QCPAxisTicker::getTickLabel(tick,locale,formatChar,precision)+" "+currUnit;
}
